function Person(name,age){
    this.name = name
    this.age = age
}
Person.prototype.speci = "人类"
let zhangsan = new Person("张三",18)
console.log(zhangsan.speci);
const kong ={
    name:"孔子",
    hobbies:["学习","思考"]
}
zhangsan.__proto__ = kong
console.log(zhangsan.hobbies);
console.log(zhangsan.speci);
